package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Customer;
import cn.wolfcode.crm.query.CustomerChartQO;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.vo.CustomerChartVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICustomerService {
    void save(Customer customer);

    void delete(Long id);

    void update(Customer customer);

    Customer get(Long id);

    List<Customer> list();

    PageInfo query(QueryObject qo);

    void updateStatus(Long cid, int status);

    List<CustomerChartVO> queryCustomerChart(CustomerChartQO qo);
}
